|
|
When running the following code, I get 2 spheres. I expected only one.
I use pov v3.1g on Windows98, P350, 128Mo.
A pov bug ? A windows bug? Is floating-point math that not precise ?
// ----------------------------------------
camera
{
location <0.0, 0.5, -4.0>
direction 1.5*z
right 4/3*x
look_at <0.0, 0.0, 0.0>
}
light_source
{
0*x
color White
translate <-30, 30, -30>
}
#if (cos(pi/2)>0)
sphere { 0.0, 1
pigment {Yellow}
translate x
}
#end
#if (cos(pi/2)=0)
sphere { 0.0, 1
pigment {Green}
translate -x
}
#end
Post a reply to this message
|
|